package com.xiaoyang.forum.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

import lombok.Data;

/**
 * @author XiaoYang
 * @since 2025-08-18
 */
@Data
@TableName("t_article_like")
public class ArticleLike extends BaseEntity{
    /**
     * 编号，主键自增
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private Long id;

    /**
     * 发帖人，关联用户编号
     */
    private Long userId;

    /**
     * 关联帖子编号
     */
    private Long articleId;

    /**
     * 点赞数
     */
    private Integer likeCount;
}
